package com.sylli.oeuf.server.service;

import java.util.ArrayList;
import java.util.List;

import com.sylli.oeuf.server.db.DatabaseProviderBundle;
import com.sylli.oeuf.server.manager.SessionManager;

public class BasedService {
	
	protected static DatabaseProviderBundle providers = DatabaseProviderBundle.getInstance();
	
	protected static SessionManager sessionManager = SessionManager.getInstance();
	
	protected String serviceName = "based";
	
	// check authentication object from general 'params' argument.
	
	protected boolean verifyService(long clientId) {
		return false;
	}
	
	protected static List<Long> convertArrayOfLongToListOfLong(long[] _vals) {
		List<Long> _returnThis = new ArrayList<Long>();
		for (Long lng : _vals) {
			_returnThis.add(lng);
		}
		return _returnThis;
	}
	
}
